package com.baizan.daka.ui.adapter

import com.baizan.daka.mvp.model.bean.MeModelBean
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.dianzan.daka.R

class MeModelAdapter : BaseQuickAdapter<MeModelBean, BaseViewHolder>(R.layout.item_memodel) {


    override fun convert(helper: BaseViewHolder, item: MeModelBean) {
        helper.setText(R.id.name_tv,item.name)
            .setImageResource(R.id.icon_iv,item.iconRes)

        }
    }
